package org.mzy.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Package: org.mzy.basic.util
 * @ClassName: PageList
 * @Date:2022/9/28 11:14
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {

    // 总条数
    private Integer totals = 0;

    // 总数据 result.data.data
    private List<T> rows = new ArrayList<>();
}
